package com.xdja.kafka.constants;

/**
 * 全局变量
 */
public class GlobalConstant {
    /**
     * hadoop的地址
     */
    public static final String HDFS_URL = "hdfs.url";
    /**
     * 数据保存的hadoop根目录
     */
    public static final String HDFS_PATH = "hdfs.path";
    /**
     * 保存再hadoop中的文件格式
     */
    public static final String HDFS_FILE_FORMAT = "hdfs.file.format";
    /**
     * 华为云认证方式，0：不需要认证， 2：标准认证
     */
    public static final String HDFS_LOGIN_TYPE = "hdfs.login.type";
    /**
     * flush多少次时，进行一次华为云认证
     */
    public static final String HUAWEI_AUTH_FLUSH_COUNTER = "huawei.auth.flush.counter";
    /**
     * 用户principal
     */
    public static final String HUAWEI_USER_PRINCIPAL = "huawei.user.principal";
    /**
     * 华为认证用户名
     */
    public static final String HUAWEI_LOGIN_USERNAME = "huawei.login.username";
    /**
     * 华为认证用户证书路径
     */
    public static final String HUAWEI_USER_KEYTAB_PATH = "huawei.user.keytab.path";
    /**
     * 华为认证所需配置路径
     */
    public static final String HUAWEI_KRB5_CONF_PATH = "huawei.krb5.conf.path";
    /**
     * 华为认证认证zookeeper的server.principal
     */
    public static final String HUAWEI_ZK_SERVER_PRINCIPAL = "hauwei.zk.server.principal";
    /**
     * 华为认证认证zookeeper的server.principal的key
     */
    public static final String HUAWEI_ZK_SERVER_PRINCIPAL_KEY = "hauwei.zk.server.principal.key";
    /**
     * 华为认证zookeeper的content_name
     */
    public static final String HUAWEI_ZK_LOGIN_CONTENT_NAME = "hauwei.zk.login.content.name";
    /**
     * hdfs-site.xml配置文件绝对路径
     */
    public static final String HUAWEI_HDFS_SITE_PATH = "huawei.hdfs.site.path";
    /**
     * core-site.xml配置文件绝对路径
     */
    public static final String HUAWEI_CORE_SITE_PATH = "huawei.core.site.path";

}
